﻿package pages {
	import com.gaiaframework.templates.AbstractPage;
	import com.gaiaframework.events.*;
	import com.gaiaframework.debug.*;
	import com.gaiaframework.api.*;

	import flash.display.*;
	import flash.events.*;

	import gs.*;

	public class IndexPage extends AbstractPage {	
		public function IndexPage() {
			super();
			alpha = 0;
		}

		override public function transitionIn() : void {
			super.transitionIn();
			TweenLite.to(this, 0.3, {alpha:1, onComplete:transitionInComplete});
		}

		override public function transitionOut() : void {
			super.transitionOut();
			TweenLite.to(this, 0.3, {alpha:0, onComplete:transitionOutComplete});
		}
	}
}
